package com.example.springboot.service.impl.recommend;

import lombok.Data;

@Data
public class RelateDTO {
    /** 用户id */
    private Integer useId;
    /** 关联id */
    private Integer itemId;
    /** 指数 */
    private Integer index;

    public RelateDTO(Integer useId, Integer itemId, Integer index) {
        this.useId = useId;
        this.itemId = itemId;
        this.index = index;
    }
}